﻿using SqlSugar;
using static DataModels.Enums.GeneralEnum;

namespace DataModels.Entities.ShoppingMall
{
    [SugarTable]
    public class ShoppingMallStore
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid UUID { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 店铺描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 店铺Logo URL
        /// </summary>
        public string LogoUrl { get; set; }

        /// <summary>
        /// 店铺地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 营业执照
        /// </summary>
        public string BusinessLicenseUrl { get; set; }

        /// <summary>
        /// 是否删除   
        /// </summary>
        public Status IsDeleted { get; set; } = Status.Disable;
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public Guid CreateUserUUID { get; set; }
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        public Guid UpdateUserUUID { get; set; }
    }
}
